package month3.day28;

public class Qie extends Pet {
    public Qie(String name, String variety, int physical){
        super(name,variety,physical);
    }
    public void youyon(){
        System.out.println("有游泳的方法");
    }
    public void print() {
        super.print();
        youyon();
    }
}
